package com.tarena.lbs.coupon.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum StatusCode {
    ACTIVITY_NOT_EXIST(5001, "活动不存在"),
    ACTIVITY_END(5002, "活动已结束"),
    ACTIVITY_USERS_NOT_MATCH(5003, "用户不符合活动目标人群"),
    COUPON_NOT_EXIST(5004, "优惠券不存在"),
    COUPON_STATUS_ERROR(5005, "优惠券不是激活状态"),
    COUPON_USER_LIMIT(5006, "优惠券领取数量已达上限"),

    COUPON_COLLECTION_FAILED(5007, "优惠券领取失败"),
    COUPON_IS_GONE(5007, "优惠券已经被领完了"),

    ;

    //状态码、状态码描述
    private Integer code;
    private String message;
}